SRC = $(wildcard *.java)
OBJ = $(SRC:%.java=%.class)

default: $(OBJ)

clean:
	rm *.class

%.class: %.java
	$(JAVAC) $(JAVAFLAGS) $<
